package be.telio.freeagent.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;

@XmlRootElement(name = "contacts")
@XmlAccessorType(XmlAccessType.FIELD)
public class FAContacts implements FAEntityList
{
    @XmlElement(name = "contact")
    private List<FAContact> contacts = new ArrayList<FAContact>();

    public List<FAContact> getContacts()
    {
        return contacts;
    }

    public void setContacts(List<FAContact> contacts)
    {
        this.contacts = contacts;
    }

    public String getEntityListName()
    {
        return "contacts";
    }

}
